package org.common.utils.geometry;

public class Point 
{
	public float x;
	public float y;
	public float z;
	
	public Point(float x, float y, float z) {
		this.x = x;
		this.y = y;
		this.z = z;
	}

	public Point(float x, float y) {
		this.x = x;
		this.y = y;
	}

	@Override
	public boolean equals(Object o) {
		if(o instanceof Point) {
			Point p = (Point)o;
			return this.x == p.x && this.y == p.y && this.z == p.z;
		}
		else
			return false;  
	}

	public float getX() {		return x;	}
	public float getY() {		return y;	}
	public float getZ() {		return z;	}

}